<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1" />
		<title>中智融通</title>
		<style>
			html, body {
				margin: 0;
				padding: 0;
				height: 100%;
				background-color: #F0EED9;
				font: normal 100% Helvetica,Georgia,Arial,sans-serif,"宋体";
			}
			.head {
				-webkit-box-sizing: border-box;
				box-sizing: border-box;
			}
			.head img {
				height: 100%;
				width: 100%;
			}
			.main {
				line-height: 1.4;
				margin-left: 2%;
				margin-right: 2%;
				padding-left: 3%;
				padding-right: 3%;
				padding-bottom: 3%;
				border-radius: 12px;
				background-color: #fff;
				border-color: #F0F0F0;
				-webkit-box-sizing: border-box;
				box-sizing: border-box;
				box-shadow: 0 0 3px #F0F0F0;
			}
			.main p {
				text-indent: 2.1em;
				line-height: 1.4;
				font-size: 1.2em;
				word-wrap: break-word;
				word-break: break-all;
			}
			a {
				outline: none;
				text-decoration: none;
			}
		</style>
	</head>
	<body>
		<div class="head" id="head">
			<img src="<%=request.getContextPath()%>/${companyProfile.imageUrl}" alt="公司LOGO">
		</div>
		<div class="main" id="main">
				<article>${companyProfile.content}</article>
		</div>
		<div id="footer"></div>
		<script>
			var clientHeight = document.body.clientHeight;
			document.getElementById('head').style.height = 0.21 * clientHeight + 'px';
			var main = document.getElementById('main');
			main.style.minHeight = 0.73 * clientHeight + 'px';
			main.style.paddingTop = 0.005*clientHeight + 'px';	
			main.style.marginTop = 0.01*clientHeight + 'px';			
			document.getElementById('footer').style.height = 0.02*clientHeight + 'px';
		</script>
	</body>
</html>
